import request from '@/utils/request'

export function apiGet(isLoading = false){
    return request({
        url: '/mock/7a24fbd3721a2bb3ca8b81050909b081/login/api/getUser',
        method: 'get',
        headers:{ isLoading }
    })
}

export function apiPost(data, isLoading = false){
    return request({
        url: '/mock/7a24fbd3721a2bb3ca8b81050909b081/login/api/updUser',
        method: 'post',
        data,
        headers:{ isLoading }
    })
}

